package com.mindbook.vip.gawxchatinfo.controller.nostrum;

import com.mindbook.vip.gawxchatinfo.entity.nostrum.PrimaryLiverCancerEvaluatingSeverity;
import com.mindbook.vip.gawxchatinfo.service.nostrum.PrimaryLiverCancerEvaluatingSeverityService;
import com.mindbook.vip.gawxchatinfo.utils.result.Result;
import com.mindbook.vip.gawxchatinfo.utils.result.ResultUtils;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.apache.ibatis.binding.BindingException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.context.properties.bind.BindResult;
import org.springframework.validation.BindingResult;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/**
 * @NAME: wxb
 * @DATE: 2022/8/5
 * @DESCRIPTION:
 **/
@RestController
@Api("原发性肝癌病情评估")
@RequestMapping("primaryLiverCancerEvaluatingSeverity")
public class PrimaryLiverCancerEvaluatingSeverityController {

    @Autowired private PrimaryLiverCancerEvaluatingSeverityService service;


    @ApiOperation("业务处理")
    @PostMapping("/")
    public Result businessProcess(PrimaryLiverCancerEvaluatingSeverity p){
        Map<String, String> map = service.businessProcess(p);

        return ResultUtils.genSuccessResult(map);
    }

}
